Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding address unit property to import stream #368

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

sweco-semhul
Copy link

To resolve pelias/pelias#618 more details found in comments to that issue

@ghost ghost added the in review label Nov 2, 2017
@sweco-semhul sweco-semhul changed the title Adding address unit Adding address unit property to import stream Nov 2, 2017
// copy data to new document
record = new Document( 'openstreetmap', 'address', newid.join(':') )
.setName( 'default', streetno + ' ' + doc.address_parts.street )
.setName( 'default', streetno + unit + ' ' + doc.address_parts.street)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @sweco-semhul,
Similarly to the OA importer, what do you think about changing this to streetno + street + unit?

@orangejulius
Copy link
Member

This looks great, and I believe we can merge it once we talk about the default order of address components (and merge the model and schema changes)

@sweco-semhul
Copy link
Author

@orangejulius updated the order of street and unit attibute

michaelkirk pushed a commit to michaelkirk-pelias/openstreetmap that referenced this pull request Jun 14, 2023
Update tap-spec to the latest version 🚀
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add unit numbers to addresses
2 participants